<?php

return [
    /*
    |--------------------------------------------------------------------------
    | Third Party Services
    |--------------------------------------------------------------------------
    |
    | This file is for storing the credentials for third party services such
    | as Mailgun, Postmark, AWS and more. This file provides the de facto
    | location for this type of information, allowing packages to have
    | a conventional file to locate the various service credentials.
    |
    */

    'mailgun' => [
        'domain' => env('MAILGUN_DOMAIN'),
        'secret' => env('MAILGUN_SECRET'),
        'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
    ],

    'postmark' => [
        'token' => env('POSTMARK_TOKEN'),
    ],

    'ses' => [
        'key' => env('AWS_ACCESS_KEY_ID'),
        'secret' => env('AWS_SECRET_ACCESS_KEY'),
        'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
    ],
    'wallet' => [
        'host' => env('WALLET_API_HOST'),
        'key' => env('WALLET_API_KEY'),
        'secret' => env('WALLET_API_SECRET'),
        'recovery_address' => env('WALLET_RECOVERY_ADDRESS'),
    ],
    'yeepay' => [
        'merchant_pno' => env('YEEPAY_MCH_PNO'),
        'platform_merchant_no' => env('YEEPAY_PLATFORM_MCH_NO'),
        'public_key' => env('YEEPAY_PUBLIC_KEY'),
        'secret_key' => env('YEEPAY_SECRET_KEY'),
        'registry_pay_notify_url' => env('YEEPAY_REGISTRY_PAY_NOTIFY_URL', env('APP_URL') . '/api/registry_pay_notify'),
        'pay_notify_url' => env('YEEPAY_PAY_NOTIFY_URL', env('APP_URL') . '/api/yeepay_pay_notify'),
        'micro_register_notify_url' => env('YEEPAY_MICRO_REGISTER_NOTIFY_URL', env('APP_URL') . '/api/yeepay_micro_register_notify'),
        'enterprise_register_notify_url' => env('YEEPAY_MICRO_REGISTER_NOTIFY_URL', env('APP_URL') . '/api/yeepay_enterprise_register_notify'),
        'open_wallet_notify_url' => env('YEEPAY_OPEN_WALLET_NOTIFY_URL', env('APP_URL') . '/api/yeepay_open_wallet_notify'),
    ],
    'adapay' => [
        'notify_url' => env('ADAPAY_NOTIFY_URL', env('APP_URL') . '/api/adapay_notify'),
    ],
    'sdpay' => [
        'host' => env('SDPAY_HOST'),
        'pay_notify_url' => env('SDPAY_NOTIFY_URL', env('APP_URL') . '/api/sdpay_pay_notify'),
        'wallet_notify_url' => env('SDPAY_NOTIFY_URL', env('APP_URL') . '/api/sdpay_wallet_notify'),
    ],
    'obs' => [
        'endpoint' => env('HW_OBS_ENDPOINT'),
        'ak' => env('HW_OBS_ACCESS_KEY_ID'),
        'sk' => env('HW_OBS_SECRET_KEY'),
        'bucket' => env('HW_OBS_BUCKET'),
        'domain' => env('HW_OBS_DOMAIN'),
    ],
    'registry' => [
        'host' => env('REGISTRY_HOST'),
        'client_id' => env('REGISTRY_CLIENT_ID'),
        'public_key' => env('REGISTRY_PUBLIC_KEY'),
        'notify_url' => env('REGISTRY_NOTIFY_URL', env('APP_URL') . '/api/registry_audit_notify'),
    ],
    'hezhi' => [
        'host' => env('HEZHI_API_HOST'),
        'invitation_code' => env('HEZHI_INVITATION_CODE'),
    ],
    'activity_config' => env('ACTIVITY_CONFIG'),
];
